package com.ruoyi.workbench.domain.sms;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 短信手机号列表对象 wb_phone
 *
 * @author ruoyi
 * @date 2020-10-19
 */
public class WbPhone extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 姓名 */
    @Excel(name = "姓名")
    private String phoneName;

    /** 号码 */
    @Excel(name = "号码")
    private String phoneNumber;

    /** 状态*/
    @Excel(name = "状态")
    private Integer phoneStatus;

    /** 是否删除，0：未删除，2：删除 */
    private Integer delFlag;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setPhoneName(String phoneName)
    {
        this.phoneName = phoneName;
    }

    public String getPhoneName()
    {
        return phoneName;
    }
    public void setPhoneNumber(String phoneNumber)
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber()
    {
        return phoneNumber;
    }
    public void setPhoneStatus(Integer phoneStatus)
    {
        this.phoneStatus = phoneStatus;
    }

    public Integer getPhoneStatus()
    {
        return phoneStatus;
    }
    public void setDelFlag(Integer delFlag)
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("phoneName", getPhoneName())
            .append("phoneNumber", getPhoneNumber())
            .append("phoneStatus", getPhoneStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
